package com.example.demo.cloud.producer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author root
 */
@SpringBootApplication(scanBasePackages = {"com.example.demo.cloud.producer.*", "com.example.demo.common.*"})
@EnableDiscoveryClient
public class DemoCloudProducerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoCloudProducerApplication.class, args);
        System.out.println("生产者启动了----》");
    }

}
